package idv.loveloser.dao;

/**
 * AbstractMdlRepositoryInstances entity provides the base persistence
 * definition of the MdlRepositoryInstances entity. @author MyEclipse
 * Persistence Tools
 */

public abstract class AbstractMdlRepositoryInstances implements
		java.io.Serializable {

	// Fields

	private Long id;
	private String name;
	private Long typeid;
	private Long userid;
	private Long contextid;
	private String username;
	private String password;
	private Long timecreated;
	private Long timemodified;
	private Boolean readonly;

	// Constructors

	/** default constructor */
	public AbstractMdlRepositoryInstances() {
	}

	/** minimal constructor */
	public AbstractMdlRepositoryInstances(String name, Long typeid,
			Long userid, Long contextid, Boolean readonly) {
		this.name = name;
		this.typeid = typeid;
		this.userid = userid;
		this.contextid = contextid;
		this.readonly = readonly;
	}

	/** full constructor */
	public AbstractMdlRepositoryInstances(String name, Long typeid,
			Long userid, Long contextid, String username, String password,
			Long timecreated, Long timemodified, Boolean readonly) {
		this.name = name;
		this.typeid = typeid;
		this.userid = userid;
		this.contextid = contextid;
		this.username = username;
		this.password = password;
		this.timecreated = timecreated;
		this.timemodified = timemodified;
		this.readonly = readonly;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getTypeid() {
		return this.typeid;
	}

	public void setTypeid(Long typeid) {
		this.typeid = typeid;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getContextid() {
		return this.contextid;
	}

	public void setContextid(Long contextid) {
		this.contextid = contextid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Long getTimecreated() {
		return this.timecreated;
	}

	public void setTimecreated(Long timecreated) {
		this.timecreated = timecreated;
	}

	public Long getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(Long timemodified) {
		this.timemodified = timemodified;
	}

	public Boolean getReadonly() {
		return this.readonly;
	}

	public void setReadonly(Boolean readonly) {
		this.readonly = readonly;
	}

}